﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Yuebon.Security.Models
{
    [SugarTable("Sys_InterfaceDoking", "外部接口设置")]
    [Serializable]
    public class SysInterfaceDoking: EntityBaseData
    {
        /// <summary>
        /// 请求地址
        /// </summary>
        [SugarColumn(ColumnDescription = "请求地址")]
        public string RequestUrl { get; set; }

        /// <summary>
        /// 请求方式
        /// </summary>
        [SugarColumn(ColumnDescription = "请求方式")]
        public string RequestMethod { get; set; }

        [SugarColumn(ColumnDescription = "请求类别")]
        public string ContentType { get; set; }


        [SugarColumn(ColumnDescription = "请求头,List<对象> Type,Name,Value,Dependent,DependentValue，存json")]
        public string Headers { get; set; }

        [SugarColumn(ColumnDescription = "请求参数,List<对象> Type,Name,Value,Dependent,DependentValue，存json")]
        public string Body { get; set; }
    }
}
